From 4649e71f3fa3d23a6425a25d019a297cc5fb595e Mon Sep 17 00:00:00 2001 From: "djm@kirby.fc.hp.com" Date: Wed, 21 Dec 2005 08:36:03 -0600 Subject: [PATCH] Certain faults should not be reflected if caused with priv=0 Signed-off-by Kevin Tian --- xen/arch/ia64/xen/process.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xen/arch/ia64/xen/process.c b/xen/arch/ia64/xen/process.c index 97425e40c6..3933801b30 100644 --- a/xen/arch/ia64/xen/process.c +++ b/xen/arch/ia64/xen/process.c @@ -715,9 +715,9 @@ ia64_handle_reflection (unsigned long ifa, struct pt_regs *regs, unsigned long i unsigned long check_lazy_cover = 0; unsigned long psr = regs->cr_ipsr; - if (!(psr & IA64_PSR_CPL)) { - printk("ia64_handle_reflection: reflecting with priv=0!!\n"); - } + /* Following faults shouldn'g be seen from Xen itself */ + if (!(psr & IA64_PSR_CPL)) BUG(); + switch(vector) { case 8: vector = IA64_DIRTY_BIT_VECTOR; break; -- 2.30.2